Adjust PANTGRUNTS_VIEW for the new WATCHES.Type values
authorKarl O. Pinc kop@karlpinc.com <kop@karlpinc.com>
Wed, 22 Jul 2026 21:06:14 +0000 (21:06 +0000)
committerKarl O. Pinc kop@karlpinc.com <kop@karlpinc.com>
Mon, 27 Jul 2026 15:17:12 +0000 (15:17 +0000)
commit7462c48eddea6db464876a4a847f1e9c8f9a2c22
tree8a6d923ebcd3fb6568b40fad3156e3c687b9e974
parentbbdb97d8c958a0cbc5f1111bda8a3a2e232d677b
Adjust PANTGRUNTS_VIEW for the new WATCHES.Type values

The new WATCHES design (A-Record type, B-Record type, etc.) means that
there is no longer a hierarchy of WATCHES.Type values that pantgrunt
data must conform to.  We no longer require a pantgrunt to be attached
to a B record watch, if one exists, and if not then a pantgrunt watch.

This means the PANTGRUNTS_VIEW code can delegate all the work to the
DYADS view, and we can get rid of a lot of code.

(If the PANTGRUNTS_VIEW is ever to raise an error, the deleted
_show_row() macro may prove useful to retrieve from the deleted code.)
db/schemas/lib/triggers/create/pantgrunts_view.m4
doc/src/views/pantgrunts_view.m4